import React, { Component, useState } from "react";
export default class Tow extends Component {
    constructor(props) {
        super(props)
    }
    render() {
        console.log(this.props)
        let { num, getRef } = this.props
        return (
            <div>
                <h1>组件tow</h1>
                父组件参数： {num}
                <button onClick={getRef}>控制three组件</button>
            </div>
        )
    }
}
